import Vue from 'vue'
import Router from 'vue-router'




import Home from '@/views/home/Home';// 首页


Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    { // 分类
      path: '/category_one',
      name: 'Category_one',
      component: () => import('@/views/category/CategoryOne')
    },
    {
      path: '/pullRefresh',
      name: 'pullRefresh',
      component: () => import('@/views/pullRefresh/pullRefresh')
    },
    {
      path: '/recursion',
      name: 'recursion',
      component: () => import('@/views/recursion/recursion')
    },
    {
      path: '/treeTable',
      name: 'treeTable',
      component: () => import('@/views/treeTable/treeTable')
    }
  ]
})
